function h = channel(tau,beta,L,P)
%CHANNEL Summary of this function goes here
%   Detailed explanation goes here

h = zeros(1, L*P+1);

for i=1:length(tau)
    h = h + beta(i).*pulse(tau(i),L,P);
end
    
end

